<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加单元</title>
<link rel="stylesheet" type="text/css" href="../Public/css/main.css" />
<script type="text/javascript" src="__PUBLIC__/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
	function onloadFck(){
		var fck = new FCKeditor('description');
		fck.BasePath="__PUBLIC__/fckeditor/";
		fck.Width="700";
		fck.Height="300";
		fck.ReplaceTextarea();
	}
	window.onload = onloadFck;
	
	function fnOnSubmit(form){
		//var obj = FCKeditorAPI.GetInstance('description');
		//obj.UpdateLinkField();
	}
</script>
</head>
<body>
<!-- __URL__代表当前模块路径 -->
<table>
	<tr>
		<td class="nav_path">您现在的位置：》信息中心》添加栏目</td>
	</tr>
	<tr>
		<td class="nav_menu"><label>管理导航：</label> 
		<label><a href="__URL__/index">栏目管理</a></label>&nbsp;&nbsp;|&nbsp;&nbsp;
		<label><a href="__URL__/add">添加栏目</a></label></td>
	</tr>
</table>
<br/>
<table>
<form action="__URL__/insert" method="post">
	<tr>
		<td align="right">所属单元：</td>
		<td colspan="3">
			<select name="sectionid">
				<option value="">-请选择单元-</option>
				<volist name="slist" id="sec">
					<option value="{$sec['id']}" <eq name="article['sectionid']" value="$sec['id']"> selected</eq>>{$sec['title']}</option>
				</volist>
			</select>
		</td>
	</tr>
	<tr>
		<td align="right">栏目名称：</td>
		<td colspan="3">
			<input type="text" name="title" size="40"/>
		</td>
	</tr>
	<tr>
		<td align="right">栏目别名：</td>
		<td colspan="3">
			<input type="text" name="alias" size="40"/>
		</td>
	</tr>
	<tr>
		<td align="right">发&nbsp;&nbsp;&nbsp;&nbsp;布：</td>
		<td colspan="3">
			是<input type='radio' name="published" value="1" checked="true"/>
	否<input type='radio' name="published" value="0"/>
		</td>
	</tr>
	<tr>
		<td align="right">栏目描述：</td>
		<td colspan="3">
			<textarea name="description"></textarea>
		</td>
	</tr>
	<tr>
		<td align="center" colspan="4">
			<input type='submit' value='保存' />
		</td>
	</tr>
	
	
	
</form>
</table>
</body>
</html>